package com.weitu.occupationalHealth.phyData.service.impl;

import com.weitu.occupationalHealth.phyData.entity.OccDoubt;
import com.weitu.occupationalHealth.phyData.mapper.OccDoubtMapper;
import com.weitu.occupationalHealth.phyData.service.OccDoubtService;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OccDoubtServiceImpl implements OccDoubtService {
    @Autowired
    private OccDoubtMapper occDoubtMapper;

    @Override
    public OccDoubt selectById(String id) {
        return this.occDoubtMapper.selectById(id);
    }

    @Override
    public int deleteById(String id) {
        return this.occDoubtMapper.deleteById(id);
    }

    @Override
    public int updateByIdSelective(OccDoubt record) {
        return this.occDoubtMapper.updateByIdSelective(record);
    }

    @Override
    public int updateById(OccDoubt record) {
        return this.occDoubtMapper.updateById(record);
    }

    @Override
    public int insert(Map record) {
        return this.occDoubtMapper.insert(record);
    }

    @Override
    public int insertSelective(OccDoubt record) {
        return this.occDoubtMapper.insertSelective(record);
    }
}